﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ZY.Model
{
    [Table("UserModel")]
    public class UserModel:Shenji
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime DateTime { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Img { get; set; }
        /// <summary>
        /// 是否入职成功
        /// </summary>
        public bool IsAdmin { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int ZTid{ get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        ///  编号
        /// </summary>
        public string Codr { get; set; }


    }
}
